<style>
    body{
        background-color: #f9f9f9;
    }
</style>
<script>
    var info={{ info }};
</script>
{% if check is defined %}
    {{ check }}
{% endif %}
<form id="xh_form" class="xh-form"  method="post"    style="margin-left: 20px;">
    <div class="xh-area-form">
        <table >
            <tr>
                {% if showCharges %}
                        <td style="width: 75px"><label>小组长</label><input name="iLevel"  value="2" type="hidden"></td>
                    {% else %}
                        <td style="width: 75px"><label>总组长</label><input name="iLevel"  value="1" type="hidden"></td>
                {% endif %}
                <td style="width: 200px;">
                    <select name="iChiefId">
                        <option value="">请选择</option>
                        {% for id,text in contacts %}
                            <option value="{{ id }}">{{ text }}</option>
                        {% endfor %}
                    </select>
                    <input name="iSBGId" type="hidden">
                    <input name="iSBLId" value="{{ iSBLId }}" type="hidden">
                    <input name="iParentId"  value="{{ parentId }}" type="hidden">
                </td>
                {% if showCharges %}
                <td style="width: 75px"><label>学科</label></td>
                <td style="width: 200px;">
                    <select name="iSubject">
                        <option value="">请选择</option>
                        {% for id,text in subjects %}
                            <option value="{{ id }}">{{ text }}</option>
                        {% endfor %}
                    </select>
                </td>
                {% endif %}
            </tr>
            {% if showCharges %}
                <tr>
                    <td ><label>小组成员</label></td>
                    <td colspan="3">
                        <select name="sChargeIds[]" multiple="multiple">
                            {% for id,text in contacts %}
                                <option value="{{ id }}">{{ text }}</option>
                            {% endfor %}
                        </select>
                    </td>
                </tr>
            {% endif %}

        </table>
    </div>
</form>